package org.ribbon.consumer.controller;

import org.ribbon.consumer.service.ITestRibbonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestRibbonController {

	@Autowired
	ITestRibbonService testRibbonService;

    @GetMapping(value = "/testRibbon")
    public String hi(String name) {
        return testRibbonService.testRibbon(name);
    }
}
